<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>{$CANVAS_NAME}</title>
    {$PLATFORM_JS_HTML}
    <script type="text/javascript">
        function facebookUI(params, callBack) {
            FB.ui(params, callBack);
        }
        function registerScope() {
            FB.getLoginStatus(function(response) {
                console.log(response);
                if (response.status != 'connected') {
                    FB.login(function(response) {
                    },{
                        scope: 'user_friends,publish_actions'
                    });
                }
            });
        }

    </script>
</head>
<!--<body style="margin:0; padding:0;"> -->
<body style="margin:0; padding:0;">
<div style="text-align: center;">
    <iframe src="{$HTML_URL}" id="canvas" frameborder="0" marginheight="0"
            marginwidth="0" width="100%" height="954px"></iframe>
</div>
</body>
</html>